package com.github.niefy.modules.wx.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.github.niefy.modules.sys.entity.SysMenuEntity;
import me.chanjar.weixin.common.error.WxErrorException;
import me.chanjar.weixin.mp.bean.freepublish.WxMpFreePublishArticles;
import me.chanjar.weixin.mp.bean.freepublish.WxMpFreePublishList;

import java.util.List;
import java.util.Map;

public interface WxPublicationRecordsService extends IService<SysMenuEntity> {


    public boolean syncWxArticle(String appid) throws WxErrorException;

    public Map<String, Object> getPublish(String appid, int page) throws WxErrorException;

    public String getThumb(String appid,String mediaId) throws WxErrorException;
}
